package com.bytz.modules.cms.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bytz.common.system.base.service.ICrudService;
import com.bytz.modules.cms.product.entity.ProductPack;
import com.bytz.modules.cms.product.model.ProductPackModel;

import java.util.Map;

/**
 * <p>
 * 莱宝CMS—产品管理—产品打包分类表 服务类
 * </p>
 *
 * @author KyleWang
 * @since 2022-10-10
 */
public interface IAdminProductPackService extends ICrudService<ProductPack, ProductPackModel> {

    /**
     * 分页查询
     */
    IPage<ProductPackModel> queryPage(Page<ProductPack> objectPage, ProductPackModel packModel, Map<String, String[]> parameterMap) throws Exception;

    /**
     * 根据id查询单条
     */
    ProductPackModel queryById(String id);
}
